package domain;

import javax.jdo.annotations.Inheritance;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;


@PersistenceCapable
@Inheritance(customStrategy="complete-table")
public class BlogFile extends DownloadableFile {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2515629660089953936L;

	@Persistent
	private String title;
	
	@Persistent
	private String author;
	
	@Persistent
	private String email;

	
	@Persistent
	private String commentIdString;
	
	
	
	public static String sortByLastModifiedDateDESC(){
		return "lastModifiedDate desc";
	}

	public static String sortByLastModifiedDateASC(){
		return "lastModifiedDate asc";
	}

	public String getCommentIdString() {
		return commentIdString;
	}

	public void setCommentIdString(String commentIdString) {
		this.commentIdString = commentIdString;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}




	
}
